﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MediumApi.Db
{
    /// <summary>
    /// 角色
    /// </summary>
    [Table("tb_role")]
    public class Role
    {
        public int Id { get; set; }
        /// <summary>
        /// 角色名字
        /// </summary>
        public string RoleName { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
        public int Status { get; set; }
        public string Describe { get; set; }
    }
}
